/**
 * 
 */
package com.wgo.bpot.client.session;


/**
 * Thrown when client is not compabiltile with server.
 * 
 * @author petterei
 * @version $Id: IncompatibleClientVersionException.java,v 1.1 2006-01-23 09:27:22 petterei Exp $
 */
public class IncompatibleClientVersionException extends DomainSessionException {

	private static final long serialVersionUID = 2548385708041015679L;

	/**
	 * 
	 * @param serverVersions The client versions the server is compatible with.
	 * @param clientVersion The client's version.
	 */
	public IncompatibleClientVersionException(String[] serverVersions, String clientVersion) {
		super("Client is not compatible with server. " + 
				"The server is compatible with current client versions: " + 
				serverVersions.toString() +
				"The client's version is: " + clientVersion + 
				"Please se instrunctions for updateing your client at https://remato.eide.biz"
				);
	}
	
}
